package com.neusoft.yuejian_6.service;

import com.neusoft.yuejian_6.javabean.User;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Q on 2017/10/10.
 */

public interface UserService {

        //登录
        @GET("User/getuserLogin")
        Call<User> getUserLogin(@Query("user_name") String editTextUser,
                                @Query("user_password") String editTextPass);

        //注册
        @GET("User/getUserRegister")
        Call<User> getuserRegister(@Query("user_name") String username,
                                      @Query("user_password") String password,
                                      @Query("user_phone") String userphone,
                                      @Query("user_age") String userage,
                                      @Query("user_sex") String usersex);

}


